package cn.wh.netty.pojo;

import cn.wh.pojo.ChatMsg;

import java.io.Serializable;

/**
 * @Author: HongXiaoHan
 * @Description
 * @Date: 2021/2/9 11:26
 */
public class DataContent implements Serializable {
    /**
     * 动作类型
     */
    private Integer action;

    /**
     * 消息对象
     */
    private Msg msg;

    /**
     * 扩展字段
     */
    private String extand;

    @Override
    public String toString() {
        return "DataContent{" +
                "action=" + action +
                ", msg=" + msg +
                ", extand='" + extand + '\'' +
                '}';
    }

    public Integer getAction() {
        return action;
    }

    public void setAction(Integer action) {
        this.action = action;
    }

    public Msg getMsg() {
        return msg;
    }

    public void setMsg(Msg msg) {
        this.msg = msg;
    }

    public String getExtand() {
        return extand;
    }

    public void setExtand(String extand) {
        this.extand = extand;
    }
}
